package com.my.test.design.decorate;

public class DecorateB extends Decorate {

    public DecorateB(com.my.test.design.decorate.Component component) {
        super(component);
    }

    public void myOwnerM(){
        System.out.println("装饰b方法");
    }

    @Override
    public void operate() {
        super.operate();
        myOwnerM();
    }

}
